package com.yeyks.consumer.dal.domain;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yun
 * @since 2020-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="FishBallGoodsMessage对象", description="")
public class FishBallGoodsMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号")
    @TableId("id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "商品id")
    @TableField("goods_id")
    private Integer goodsId;

    @ApiModelProperty(value = "姓名")
    @TableField("receive_name")
    private String receiveName;

    @ApiModelProperty(value = "电话")
    @TableField("receive_phone")
    private String receivePhone;

    @ApiModelProperty(value = "收货地址")
    @TableField("receive_address")
    private String receiveAddress;

    @ApiModelProperty(value = "1未发货，2发货，3完成")
    @TableField("receive_status")
    private Integer receiveStatus;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "商品名称")
    @TableField(exist = false)
    private String title;

    @ApiModelProperty(value = "鱼丸数量")
    @TableField(exist = false)
    private Integer needFishBallCount;


    public static final String ID = "id";

    public static final String USER_ID = "user_id";

    public static final String GOODS_ID = "goods_id";

    public static final String RECEIVE_NAME = "receive_name";

    public static final String RECEIVE_PHONE = "receive_phone";

    public static final String RECEIVE_ADDRESS = "receive_address";

    public static final String RECEIVE_STATUS = "receive_status";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

}
